package com.neu.service;

import java.util.List;

import javax.servlet.http.HttpServletResponse;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import com.neu.entity.Fmeditem;





@Service
public interface FmeditemService {

	public boolean addFmeditem(Fmeditem fmeditem);

	public boolean deleteFmeditem(@Param("id") int id);

	public boolean delFmeditemByIds(@Param("ids") Integer[] ids);

	public boolean updateFmeditem(Fmeditem fmeditem);

	public List<Fmeditem> pageFmeditem(@Param("page") int page,@Param("limit") int limit,@Param("itemName") String itemName,@Param("recordType") int recordType);
	
	public int pageFmeditemTotal(@Param("itemName") String itemName,@Param("recordType") int recordType);

	public void exportExcel(HttpServletResponse response);

	public void importExcel(MultipartFile file);
	
}
